Run reftests with HighContrastInverse too
authorMatthias Clasen <mclasen@redhat.com>
Sat, 30 Jan 2016 15:10:39 +0000 (10:10 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 30 Jan 2016 15:10:39 +0000 (10:10 -0500)
For installed tests, we run the reftests with all the builtin
themes (minus platform-specific ones). Add HighContrastInverse
to that list.

testsuite/reftests/Makefile.am
testsuite/reftests/reftests-hci.test.in [new file with mode: 0644]

index d98e67aaab7d1a7939fecd9cd39e75589b9812bc..7b78008365425bf5096923232a8bb40238c76c7d 100644 (file)
@@ -453,6 +453,7 @@ EXTRA_DIST +=                       \
        $(testdata)             \
        reftests-dark.test.in   \
        reftests-hc.test.in     \
+       reftests-hci.test.in    \
        reftests.test.in        \
        $(NULL)
 
@@ -478,7 +479,9 @@ substitutions = \
 built_tests =                  \
        reftests.test           \
        reftests-dark.test      \
-       reftests-hc.test
+       reftests-hc.test        \
+       reftests-hci.test       \
+       $(NULL)
 
 DISTCLEANFILES = $(built_tests)
 
diff --git a/testsuite/reftests/reftests-hci.test.in b/testsuite/reftests/reftests-hci.test.in
new file mode 100644 (file)
index 0000000..a6466c8
--- /dev/null
@@ -0,0 +1,3 @@
+[Test]
+Exec=/bin/sh -c "env GTK_THEME=HighContrastInverse G_ENABLE_DIAGNOSTIC=0 @libexecdir@/installed-tests/gtk+/gtk-reftest -k --verbose --output $(pwd) --directory @libexecdir@/installed-tests/gtk+/reftests"
+Type=session-exclusive